package com.pzsh.entity.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * @program: pzsh
 * @description: 用户
 * @author: gxl
 * @create: 2019-12-05
 **/
@EqualsAndHashCode(callSuper = false)
@Data
public class UserVo  extends BaseVo{

    @ApiModelProperty(value = "编号")
    private Integer userId;

    @ApiModelProperty(value = "用户名")
    private String account;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "头像")
    private String head;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "是否已实名认证，0：未实名，1：已实名")
    private Integer status;

    @ApiModelProperty(value = "是否拉黑名单，0：正常，1：拉黑")
    private Integer black;

    @ApiModelProperty(value = "会员等级id")
    private Integer grade;

    @ApiModelProperty(value = "直推人数")
    private Integer recommed;

    @ApiModelProperty(value = "团队人数")
    private Integer team;

    @ApiModelProperty(value = "达标直推人数")
    private Integer finishRecommed;

    @ApiModelProperty(value = "达标团队人数")
    private Integer finishTeam;

    @ApiModelProperty(value = "jwt_token")
    private String token;

    @Column(name = "bank_card")
    @ApiModelProperty(value = "银行卡号")
    private String bankCard;

    @Column(name = "bank_mobile")
    @ApiModelProperty(value = "银行卡绑定手机号")
    private String bankMobile;

    @Column(name = "id_card")
    @ApiModelProperty(value = "身份证")
    private String idCard;

    @Column(name = "visit_account")
    @ApiModelProperty(value = "邀请人用户名")
    private String visitAccount;

    @Column(name = "qr_code")
    @ApiModelProperty(value = "推广二维码")
    private String qrCode;

    @Column(name = "pay_pwd")
    @ApiModelProperty(value = "支付密码")
    private String payPwd;

}
